My solutions to POJ