Added the header file
Added the implementation file
Fixed first bus error