How To Build Logic In Programming