Although I just finished a small part of the code, I still feel better than before. At least, I stop wasting lots of time on scanning the internet. I hope I can continue doing good. Perseverance is important. My goal is keep doing like this for 1 week. After accomplish that, I'll consider extend the duration to 2 weeks, and then 1 month.
Cheer for myself. Goal for tomorrow is adding standard graph cut to my code. To do this, I have to finish the file I/O.
Go for it!!