Create original code

This was the code provided as a part of the game.