Added enum for directions
Generating random initial positions