[User] implement a* in rust