Spaghetti with ham and tomatoes