General POSCAR generator. Need to implement functionality for base 3 numbers.