A theoretical approach to the STM imaging of adsorbates on the graphite surface