Linted up the code and added unit tests for the Life algorithms