Steps of writing an effective program