The cat wants to lay down on the table, but the problem is that we don't know where it is in the room!
You'll get in input:
 - the cat coordinates as a list of length 2, with the row on the map and the column on the map.
 - the map of the room as a list of lists where every element can be 0 if empty or 1 if is the table (there can be only one 1 in the room / lists will never be empty).
# Task:
You'll need to return the route to the table, beginning from the cat's starting coordinates, as a String. The route must be a sequence of letters U, D, R, L that means Up, Down, Right, Left. The order of the letters in the output isn't important.
# Outputs:
* The route for the cat to reach the table, as a string
* If there isn't a table in the room you must return "NoTable"
* if the cat is outside of the room you must return "NoCat" (this output has the precedence on the above one).
* If the cat is alredy on the table, you can return an empty String.
# Example: 
```
cat = [0,1]
room =[[0,0,0], [0,0,0], [0,0,1]]
The route will be "RDD", or "DRD" or "DDR"
```
def put_the_cat_on_the_table(cat, room):
    if cat[0] < 0 or cat[0] >= len(room) or cat[1] < 0 or cat[1] >= len(room[0]):
        return "NoCat"
    tableCoord = [-1, -1]
    for row in range(len(room)):
        for col in range(len(room[row])):
            if room[row][col]==1:
                tableCoord[0] = row
                tableCoord[1] = col
    if tableCoord == [-1, -1]:
        return "NoTable"
    if cat == tableCoord:
        return ""
    move = [0, 0]
    move[0] = tableCoord[0] - cat[0]
    move[1] = tableCoord[1] - cat[1]
    
    retStr = ""
    while move != [0, 0]:
        if move[0] > 0:
            retStr += "D"
            move[0] -= 1
        if move[0] < 0:
            retStr += "U"
            move[0] += 1
        if move[1] > 0:
            retStr += "R"
            move[1] -= 1
        if move[1] < 0:
            retStr += "L"
            move[1] += 1
    return retStr
def put_the_cat_on_the_table(cat, room):
    if cat[0] < 0 or cat[0] >= len(room) or cat[1] < 0 or cat[1] >= len(room[0]):
        return "NoCat"
    tableCoord = [-1, -1]
    for row in range(len(room)):
        for col in range(len(room[row])):
            if room[row][col]==1:
                tableCoord[0] = row
                tableCoord[1] = col
    if tableCoord == [-1, -1]:
        return "NoTable"
    if cat == tableCoord:
        return ""
    move = [0, 0]
    move[0] = tableCoord[0] - cat[0]
    move[1] = tableCoord[1] - cat[1]
    
    retStr = ""
    while move != [0, 0]:
        if move[0] > 0:
            retStr += "D"
            move[0] -= 1
        if move[0] < 0:
            retStr += "U"
            move[0] += 1
        if move[1] > 0:
            retStr += "R"
            move[1] -= 1
        if move[1] < 0:
            retStr += "L"
            move[1] += 1
    return retStr