Created main and first method
Created xToTheN method
Created factorial method