Completed portion of the direction checking for alive neighbors. There are bound to be errors, but I am not sure if the code will compile without Andrew's part. Feel free to contact me for further explanation of my code.