Updated solutions till 5 and added check for empty list in the sieve function in the code of Week6.