Okay first off to do this you will be needing the basic idea of if statements, loops etc. They are common in pretty much all programming languages...
Separate names with a comma.