Added generate to illustrate the action it's performing
Added method to return last generated number