write an algorithm every day