Senior Thesis for cs499