Add scala solution