added player acceleration
added collision code