updated gitignore. deleted non essential files. fixed block generation algorithm.