For a guitar musician the best tool for music composition is Guitar Pro. It's good for beginner as music is written using tabalature rather than scores.
I think the best music writing software is Octava. All the musicians that I know use it. It is not free but you can have a free demo version wich allows you to test everything but forbids you to store.