A simple class that makes calculating frames in a grid a breeze.