I have for example a function that requires to return data type Array([Int, Double]) like this:
def foo(x: Int, y:Double): Array[(Int, Double)] = {