Added extensive comments to code.
Created level and collision detection.
Merge branch 'ivan' into andy