Mathworks Edg Programming Challenge Hackerrank