#4 improvements in docs and comments
#4 in Algorithm.java and Result.java changed equals and hashCode to only compare attributes in the primary key