my implementations in various languages