Added spriteClass.
Changed Player to Sprite
Check collision method added