Placing Objects in a Grid