Added attept at python implementation so far