Refactor code
Refactor code

-Visually separate code in four large sections
-Move Cell class inside maze_generator function
-Remove some useless global variables
-Add comments
-Tidy up here and there
-Rearrange global variables

debnera/js_tank_game,debnera/js_tank_game