prototype of HW1"gridworld"
complete HW1,but fail write_csv_file function.