Implement pathfinding using A*-search

Rename some slots; change object representation for state.
Merge branch 'master' of github.com:hoelzl/Academia