finished code

and on the seventh day, god rested…and pushed to github