refactor: not pass in size of world. use for loop instead of double map
added debug
move test into test file
update read me