Commiting finished code exercises.

Completed are the three python code exercises.