Create Life.java

life class file