solved 77 and also updated PrimeSieve class to include to_vector method