switched to calloc
getters and setters tested
created template grid