gat240—proj 3

added commenting, slight optimizatoins. Still at 67%