My Solutions to SPOJ Problems