experiments with scala graph