Python modules containing functions of iterative phase retrieval algorithms