calculating first 100 prime numbers