Add RNG and output
move print function to main (save 8B)