function div(x, y)

    if y == 0
        error("Divided by zero.");
    end
    output = x / y;
    
end