updated to only dsa assgs in java