Generics practice code

Amitav code
Generics Practice code

compareTo() operation code started