Updated readme to use github markdown
Added check to ensure min value of 1