solutoins to some codehef contests