Man in court for harassing builder who he thought was a scam