Refactored port. Now it walks, jumps and collides. W = Jump, A  =  Left, D = Right