added functionality for hasReachedGoal() and added an action trace for states.
Merge branch 'master' of https://github.com/anerud/AIGroup1

Conflicts:
	javaprolog/aStar/WorldState.java