function updates

changed the return type of the chooseCategory function of game class and
updated some variable names