Programs based on SPOJ excercises.