add maze solver class and path printing method