worked on multinomial sampling and tests for understanding two's complement.