seperate reward function for 12x12 and 15x15 and 20x20 map