Did another while loop practice that envolves functions too