correct solution to weighted activity selection problem