Random Code used mainly in learning and testing