how to do quartz mining with machinery