Made move and newPos properties of maze and set it so player only moves onto an obstacle when it is solved.
: