scala demo programs