updated prim.cs to allow for assigning values to block.cs at instantiation.