Weight Variable and Validation

Introduces weight variable and has code to validate user input.