tasks 1-12 from our test 2, and tasks from your mail above IComparable and counter of objects created