created skeleton for maze solver