assignments from programming fundamentals class, useful for C# code base