Harrogate drug dealer sentenced to four years in prison