added while loops

learning how to use while loops in different ways.