added solution for problems listed on the VJudge, although they are incorrect >.>