implemented key press events (w,s,a,d)