Three Dimensional Close Packing From Two Dimensional Hexagonal Close Packed Layers