How To Convert Nested List Into Numpy Array Shape