Changed private to public for class methods
Added missing include
Added stdio.h and passing reference of variable to setBoss,