java program for memorizing ap chem stuff