Fix NaN and variables invocation for frandom year
Add console to print to screen