bug fixes to toDB
Merge branch 'master' of https://github.com/wensby/ai-project.git

Conflicts:
	src/Main.java
	src/toDB.java