Made a validator

This version prints the starting and ending places