Added solutions to SPOJ problems