milestone1.v code written (unchecked)

looped common case and end case
must check to see if it works
next steps include modelsim and  hardware test