My solutions to SPOJ problems