Adds solution for some final testing issues.
Adds obstacles avoidance when moving to the south.
Fixes conflict between edges wrapping and obstacle avoidance.
Adds test conditions.