Chnaged input keys to AD instead of WS. Also added functionality to be able to use left and right arrow keys.