Minimum Absolute Difference In Array Python Definition