added Ordered trait
also added rich extend(<%) in Generic Type, for automatic convertions from Java comparable types to Scala Ordered type
fixed bug with pop() method