Commit 1.07

Totally forgot to do my commits. Bunch of new stuff. Finalised rotation
algorithm, pathfinding and more.