replit 17. divideArrayInHalf 함수 구현