Created python implementation

Created python file