Fixed #3 and used constants for tile calculation
Fixed buggy movement and poked heap corruption