Added getBlockSize + .gitignore

Added blockSize getter and setter funcs to replace usage of magic number 512, even though it is well known to be a standard block size.