Trying prim for the first time1!!1!1!