Implement pp6calculator Exercise 4 solution

Wrap selection of arithmetic operator, numbers and result output in
while loop to allow repeat operations. Exit loop on user entering
'q' as operator.