Fixed the setStartansFinish method to set them to the same verex if the rows and columns are both 1, random otherwise