First commit: abstracted DS function, wrote README