Background create gradient

Explanation
This function creates a new background and fills it with a gradient of kind kind. It returns the id of the background so you can use it to display in the room.