Updated create table data logic; Added two parameters which take the 'amount of days' data to create and from which date to create the data from.