Create appartments.java