https://medium.com/@khandanial114/data-structures-and-algorithms-searching-in-python-arrays-ebcc2048d48a