abstracted away the makeSprite function and make makePlayer and makeZombie. Started detecting keyboard evetns