Why do you think it is important to write an algorithm in solving a problem?