There are a lot of free and good open source code editors. If you are just starting out I would recommend one of them. I use Notepad++ and overall its very good even though it does have its issues.