added addition method on Cat.java