Homework done

Enjoy my spaghetti code :D