Device for laying tiles