Testing of CMS Endcap RPC and Determination of the Top Quark Mass From High $P_t$ Jets at LHC