Implemented changes made by Vic, add loop.

Used count variable  and while loop to require 'BYE' to be input
3 times before exiting the loop. Replace until with unless.