adding Comparable interface to Bean
completed bean.compareTo() implementation
updated the test case
node code change
update warning output message