This method will be called segment (int xPos, int yPos, int mWidth) I am having a bit trouble starting
The method should do the following:
Check that mWidth is