Storing lastDirection in player server side
Added basic collision detection (heads only)