Create gives_num.m

This function gives all intergers up to x in a vector.