start is top left, goal is bottom right
new img
began pass-by-ref optimizations. Still too slow