New features: operator[];  ArrayList now is Sorted!

some major changes in arrayList and a little bit in main.cpp