Changed to Struct Point and Array

spent a lot of time trying to figure out how to recognize that a dot
has been visited. added the array