extracted Circle class, also little fun with lambdas and unpacking arrays