Liquid-Solid Transitions With Applications To Self-Assembly.