add maze problem