My Code from the mooc lessons