Added clear method. Deleted global currentArrayFull because it was not needed nor used anymore. Still need to get equals and hashcode working.