Added SPOJ stuff