SPOJ first 30 problems solved