Code cleanup + more comments added.  Removed Cost.java since that got replaced awhile ago with the Properties class in Algorithm.java.
Merge branch 'master' of github.com:seanyeh/DBAlgorithm

Conflicts:
	Algorithm.java