I am trying to run some code with self defined classes in Scala. But when I try to use them in another cell, it said reference to List is ambiguous.