little modifications

ArrayList constructor
== equals
— /* */ block