Add my answer for Num-Dot problem on CodeIQ.