Add php, python and javascript implementation