solved Problem005 by C
solved Problem006 by Ruby
renamed class name
solved Problem007 by java