Basic s-expression parser in scala - toy project