Testing adding book func
Changed addBook method