fix equals method
changed Triple ArrayList to HashMap
fix equals method
add Test code