a solution for maze question based on nodejs