flowchart of tin ore processing plant