my Solutions to SPOJ problems