My solutions to the python challenge