Imagine that a naughty kid has left a heap of colorful cubes on the floor and your job is to clean up the mess now. To remove a few of them you will have to arrange them in certain order. The difficult part though is that the little rascal keeps throwing new ones in as you are trying to clear them away.