added inertia

player unit continues to move indefinitely if no keys are pressed;
pressing "w" accelerates while pressing "s" brakes (regardless of
direction)