Twopistops

Program tidy using arrays and functions