I want to create an array buffer in scala without instantiating it with a datatype in the start. I want to check a condition and then pass the type to it dynamically. Look t