add hint function to practice session, trim extra space on answers