Changed the input of chars in movDirection to ints, since chars do not support negative numbers