Hacknight code for creating a spotify playlist for a search term with a desired length (boxpacking algorithm)