Update maze.lua

changed maximumMoves to maximumCost