- added correct coordinates according to the requirements & parameter to use rotated array
- added command line arguments for using the networkx library instead our implementation