Added Xcode project, added function for computing LC weight