Fixed some typo mistake. Debugging right now. Getting segmentation fault now.