Custom scala collection examples