Created the VectorGen class which takes and int n, and creates a list of doubles from 2 to n