Find Closest Element In Array Python Initialize