Add: agent movement

NB: last save before changing generateStarmap to creating a starmap
object and saving that instead of writing directly into the file.