https://codeanddebug.in/blog/median-of-two-sorted-arrays/