fixed array
added pathing
added pathing
smarter pathing incorporating Paul the conqueror pathing
refactoring and comments