Print score

Added the function printScore in cli.c.