From Roman emperors to a US Founding Father, lotteries have played an integral part in society throughout the world.