Improved maze solver code to take shorter paths. Calculates bias directions based on destinations orientation and attempts those directions first.