Fixed population mechanism so that the same cell isn't populated multiple times. Main program is complete. May add input checking and more functionality in the future.