This is the final code for the project based on the Microsoft XNA Tutorial