If you want to write a program then you should use paper and pencil