adding algorithm for calculating multiples of 3 and 5 under 1000