first version of Lab5, overloading [] and == >= etc.