Logik for path, WIP

Tried adding logic for generating random path.
The different components, but the main while loop that keeps generating
steps does never terminate (it should when you reach a border). More
debugging is needed!