Fixed Return statement in randomInt function