Placing marvin in initial position on grid according to input