lge code jame 2014 June problem 2 : not completed

implemented prim's algorithm