Code for lesson2 equals and ==