Generates 6 lottery numbers and saves it to list in memory.