Updating more code and fixing terrain generation
Fixed a few issues regardng terrain generation & made code
a bit more clear and concise.