finding the largest numbe in a series